﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using AvansRS.Domain;

namespace AvansRS.Data.InsertBuilders
{
    class InsertRooster : Insert<Rooster>
    {
        public InsertRooster() : base(new Rooster())
        {
            
        }

        public InsertRooster WithRoosterNumber(int roosterNumber)
        {
            Instance.RoosterNumber = roosterNumber;
            return this;
        }

        public InsertRooster WithName(string name)
        {
            Instance.Name = name;
            return this;
        }

        public InsertRooster WithDescription(string description)
        {
            Instance.Description = description;
            return this;
        }

        public InsertRooster WithTimeBlocks(IList<TimeBlock> blocks)
        {
            Instance.TimeBlock = blocks;
            return this;
        }
    }
}
